package com.example.practice.service.impl;

import com.example.practice.api.UserService;
import com.example.practice.dao.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Description:
 * @author: helong.sun
 * @date: 2020-12-23 19:10
 * @Version 1.0
 **/
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;

    /***
     * @param id
     * @return: java.lang.String
     * @Author: helong.sun
     * @Date: 2020/12/23
     */
    @Override
    public String selectAll(Integer id) {
        String name = userMapper.selectAll(id);
        return name;
    }
}
